package dujiu.luogu.branch;

import java.util.Scanner;

public class P5709 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int m = scanner.nextInt();
        int t = scanner.nextInt();
        int s = scanner.nextInt();
        if (t == 0){
            System.out.println(0);
        }else if (s/t > m ){
            System.out.println(0);
        }else if (s % t != 0){
            System.out.println(m - (s / t) - 1);
        }else {
            System.out.println(m-(s/t));
        }
        scanner.close();
    }
}
